package nccloud.hrkq.leave.ext.action;

import java.util.Map;

import nc.itf.hrkq.leave.ext.IHrkqExtServer;
import nc.vo.pub.BusinessException;
import nccloud.framework.service.ServiceLocator;
import nccloud.framework.web.action.itf.ICommonAction;
import nccloud.framework.web.container.IRequest;
import nccloud.framework.web.container.SessionContext;

public class ImportResultAction implements ICommonAction {

	@Override
	public Object doAction(IRequest request) {
		String sessionid = SessionContext.getInstance().getSessionid();
		
		Map<String, Object> result = null;
		try {
			result = ServiceLocator.find(IHrkqExtServer.class).importResult(sessionid);
		} catch (BusinessException e1) {
			e1.printStackTrace();
		}
		
		return result;
	}

}
